package com.neu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.neu.pojo.User;


/**
 * user表持久层接口
 * @author Admin
 *
 */
@Mapper
public interface UserMapper {	
	//代码编写处
	List<User> findAllUser(String userName);	
	User findUserById(String id);	
	User checkUserExists(User user);
	int checkUserNameExists(User user);
	int insertUser(User user);
	int updateUser(User user);
	int deleteUser(String id);
}
